package com.donggua.aichebao.login;

import android.app.Activity;
import android.view.View;
import android.widget.Button;
import com.donggua.aichebao.commonui.load.TextAndEditLayout;
import com.donggua.aichebao.commonui.setting.DGSettingBase;

/**
 * Created by fzh on 2017/8/22.
 */

public class DGLoginForgetPassword extends DGSettingBase implements View.OnClickListener {
    private Button btnOk;
    private Button btnGetCheckCode;
    private TextAndEditLayout tae_CheckCode;
    private TextAndEditLayout tae_PhoneNumber;
    private TextAndEditLayout tae_NewPassword;
    private TextAndEditLayout tae_SurePasswor;
    //
    public DGLoginForgetPassword(Activity act, View view) {
        super(act, view);
        this.setTitleName(R.string.loginInputPhoneNumber);
        btnGetCheckCode = mMainView.findViewById(R.id.btnGetCheckCode);
        btnOk = mMainView.findViewById(R.id.btnOk);
        tae_CheckCode = (TextAndEditLayout)mMainView.findViewById(R.id.tae_CheckCode);
        tae_PhoneNumber = (TextAndEditLayout)mMainView.findViewById(R.id.tae_PhoneNumber);
        tae_NewPassword = (TextAndEditLayout)mMainView.findViewById(R.id.tae_NewPassword);
        tae_SurePasswor = (TextAndEditLayout)mMainView.findViewById(R.id.tae_SurePasswor);
        btnGetCheckCode.setOnClickListener(this);
        btnOk.setOnClickListener(this);
    }

    @Override
    public void onClick(View view) {
        int id = view.getId();
        if(id == R.id.btnOk){

        }else if(id == R.id.btnGetCheckCode){

        }
    }
}
